﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<Cs2102BookingSystem.Models.FACILITIES>" %>
 <fieldset>
        
        <div class="display-label"></div>
        <div class="display-field" style="font-weight:bold">Facility Name: <%: Model.FACILITY %></div>
        <img src="<%: Model.FACILITYIMAGE%>" 
            style="text-align: center; " class="style1"/>
        <div class="display-label">DESCRIPTION</div>
        <div class="display-field" style="font-weight:bold"><%: Model.DESCRIPTION %></div>
        <p>
        <%: Html.ActionLink("Edit Facility Info", "EditFacility", "AdminMain", Model, new { })%> |
        <%: Html.ActionLink("Delete This Facility", "DeleteFacility", "AdminMain", Model,
            new { onclick = "return confirm('Are you sure you wish to delete this facility?');" })%> |
        </p>
    </fieldset>

